<%@ page import="interview1.InterViewVo"%>
<%@ page import="interview1.InterView"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<link rel='stylesheet' href="./interview/interview.css">
<script src="./interview/interview.js"></script>
<style>
/*
 * textarea 영역 고정하는 방법
 */
textarea { width: 95%; padding: 10px; border: 3px solid #999; }

#textarea_sol { 
	-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
	-moz-box-sizing: border-box;    /* Firefox, other Gecko */
	box-sizing: border-box;         /* IE 8+ */
}

</style>
</head>
<body>
<jsp:useBean id="interVo" class="interview1.InterViewVo"/>
<jsp:setProperty property="*" name="interVo"/>
<% 
//아이디 정보 가져오는 것(로그인 확인하는 것)
String sessionID=(String)session.getAttribute("mid");
%>
<%
InterView iv = new InterView();
iv.setVo(interVo);
InterViewVo vo = iv.view();
%>
<br/>
<center><h1>[수정] 기업 인터뷰</h1></center>

<form name="interview_frm" method="post" action="">
	<div id="interview_title2">
		<div id="inter_title_mid2">
			<div class="tt">아이디</div>&nbsp;<div class="tt2"><%=sessionID %></div>
		</div>
		<div id="inter_title_subject2">
			<div class="tt">제&emsp;목</div>&nbsp;<div class="tt2"><input type="text" name="subject" value="<%=vo.getSubject()%>" style="width: 396px;"></div>
		</div>
		<div id="inter_title_content2">
			<textarea id="textarea_sol" name="content" rows="30"><%=vo.getContent()%></textarea>
		</div>
	</div>
	
	<div id="btnList_div">
	
		<input type="button" id="btnModify" value="저장" onclick = "btnModify2(<%=vo.getSerial()%>)">&emsp;
		<input type="button" id="btnList4" value="목록" onclick = "btnList1()">
	</div>
</form>
</body>
</html>